package nsu.edu.zsq.param;

import javax.validation.constraints.Pattern;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/** 
* Description: 系统操作日志中搜索关键字的实体类封装<br>
*/
@Getter
@Setter
@ToString
public class SysLogSearch {
    
    private String type;
    
    @Pattern(regexp="^[\\S]{0,20}$", message="0-20个字符，且不能出现空格")
    private String operator;
    
    @Pattern(regexp="^[\\S]{0,20}$", message="0-20个字符，且不能出现空格")
    private String oldValue;
    
    @Pattern(regexp="^[\\S]{0,20}$", message="0-20个字符，且不能出现空格")
    private String newValue;
    
    private String fromTime;
    
    private String toTime;
}
